Optimal. Leaf size=25 \[ \frac{(b c-a d) \log (a+b x)}{b^2}+\frac{d x}{b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0407364, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{(b c-a d) \log (a+b x)}{b^2}+\frac{d x}{b} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x)/(a + b*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{\int d\, dx}{b} - \frac{\left (a d - b c\right ) \log{\left (a + b x \right )}}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((d*x+c)/(b*x+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0121552, size = 25, normalized size = 1. \[ \frac{(b c-a d) \log (a+b x)}{b^2}+\frac{d x}{b} \]
Antiderivative was successfully verified.
[In] Integrate[(c + d*x)/(a + b*x),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.004, size = 32, normalized size = 1.3 \[{\frac{dx}{b}}-{\frac{a\ln \left ( bx+a \right ) d}{{b}^{2}}}+{\frac{c\ln \left ( bx+a \right ) }{b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((d*x+c)/(b*x+a),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.34197, size = 34, normalized size = 1.36 \[ \frac{d x}{b} + \frac{{\left (b c - a d\right )} \log \left (b x + a\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)/(b*x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.196054, size = 32, normalized size = 1.28 \[ \frac{b d x +{\left (b c - a d\right )} \log \left (b x + a\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)/(b*x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.13274, size = 20, normalized size = 0.8 \[ \frac{d x}{b} - \frac{\left (a d - b c\right ) \log{\left (a + b x \right )}}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x+c)/(b*x+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.219165, size = 35, normalized size = 1.4 \[ \frac{d x}{b} + \frac{{\left (b c - a d\right )}{\rm ln}\left ({\left | b x + a \right |}\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)/(b*x + a),x, algorithm="giac")
[Out]